#!/bin/bash

if [ ! -f "/proc/sys/fs/binfmt_misc/qemu-riscv64" ]; then
	sudo ./qemu-binfmt-conf.sh --qemu-path /usr/bin
fi

sudo docker run --rm -v ~:/mnt -v /usr/bin/qemu-riscv64:/usr/bin/qemu-riscv64 -it ft2team/rv_2404
